<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Title</title>
</head>
<body>
<form action="/menu/save" method="post">
  菜单名称：<input name="menuName" type="text"/><br>
  菜单url：<input name="menuUrl" type="text"/><br>
  父级菜单：<select name="parentCode">
  <option disabled selected>请选择</option>
  <c:forEach items="${menus}" var="menu">
    <c:if test="${menu.menuStatus==1}">
      <option value="${menu.menuCode}">${menu.menuName}</option>
    </c:if>
  </c:forEach>
</select><br>
  菜单类型：菜单<input name="menuType" type="radio" value="1" checked/>按钮<input name="menuType" type="radio" value="2"/><br>
  <input type="submit" value="添加"/>
</form>
</body>
</html>
